package com.iyundao.io.Service;

import com.iyundao.io.model.SysUser;
import com.iyundao.io.model.SysUserInfo;
import com.iyundao.io.tools.ResponseData;

import java.util.List;
import java.util.Map;

/**
 * Created by black on 2019/3/20.
 */

public interface SysUserService {
    SysUser addSysUser(SysUser record,String sid);

    SysUser insertSysUser(SysUser record,String sid);

    List<SysUser> getUserByDeptId(String deptId);

    List<Map> getUserByNotInDept();

    SysUser selectByOpenid(String openid);

    SysUserInfo selectInfoByOpenid(String openid);

    SysUserInfo addSysUserInfo(SysUserInfo sysUserInfo);

    SysUser selectByPhone(String phone);

    int updateSysUserInfo(String uid,String openid);

    ResponseData addAdministrator(SysUser record, String sid);

    ResponseData deleteUser(String sid);

    SysUser selectByLoginName(String name);

    ResponseData getAdministratorByDeptId(Integer pagenum, Integer pagesize,String deptId);

    SysUser selectByPartymemberId(Integer id);
}
